export const inputList = [
  {
    label: "",
    tag: "el-tabs",
    vModel: "activeName",
    box: true,
    children: [
      {
        tag: "el-tab-pane",
        options: {
          label: "属性",
          name: "1",
        },
        children: [
          {
            tag: "el-input",
            label: "占位提示",
            vModel: "__options__.placeholder",
            options: {
              placeholder: "请输入占位提示",
            },
          },
          {
            tag: "el-input",
            label: "前图标",
            vModel: "__options__.prefix-icon",
            options: {
              placeholder: "请输入前图标名称",
            },
            children: [
              {
                slot: "append",
                tag: "el-button",
                options: {
                  icon: "el-icon-thumb",
                },
                event: [
                  {
                    trigger: "click",
                    method: "openIconsDialog",
                    params: "prefix-icon",
                  },
                ],
              },
            ],
          },
          {
            tag: "el-input",
            label: "后图标",
            vModel: "__options__.suffix-icon",
            options: {
              placeholder: "请输入后图标名称",
            },
            children: [
              {
                slot: "append",
                tag: "el-button",
                options: {
                  icon: "el-icon-thumb",
                },
                event: [
                  {
                    trigger: "click",
                    method: "openIconsDialog",
                    params: "suffix-icon",
                  },
                ],
              },
            ],
          },
          {
            tag: "el-input",
            label: "最多输入",
            vModel: "__options__.maxlength",
            options: {
              placeholder: "请输入字符长度",
            },
            children: [
              {
                slot: "append",
                tag: "el-button",
                text: "个字符",
              },
            ],
          },
          {
            tag: "el-switch",
            label: "能否清空",
            vModel: "__options__.clearable",
          },
          {
            tag: "el-switch",
            label: "是否只读",
            vModel: "__options__.readonly",
          },
          {
            tag: "el-switch",
            label: "是否禁用",
            vModel: "__options__.disabled",
          },
        ],
      },
      {
        tag: "el-tab-pane",
        options: {
          label: "插槽",
          name: "2",
        },
        children: [
          {
            tag: "el-input",
            label: "前缀",
            vModel: "__slot__.prepend",
            options: {
              placeholder: "请输入前缀",
            },
          },
          {
            tag: "el-input",
            label: "后缀",
            vModel: "__slot__.append",
            options: {
              placeholder: "请输入后缀",
            },
          },
        ],
      },
    ],
  },
];
export const inputPasswordList = [
  {
    label: "",
    tag: "el-tabs",
    vModel: "activeName",
    box: true,
    children: [
      {
        tag: "el-tab-pane",
        options: {
          label: "属性",
          name: "1",
        },
        children: [
          {
            tag: "el-input",
            label: "占位提示",
            vModel: "__options__.placeholder",
            options: {
              placeholder: "请输入占位提示",
            },
          },
          {
            tag: "el-input",
            label: "前图标",
            vModel: "__options__.prefix-icon",
            options: {
              placeholder: "请输入前图标名称",
            },
            children: [
              {
                slot: "append",
                tag: "el-button",
                options: {
                  icon: "el-icon-thumb",
                },
                event: [
                  {
                    trigger: "click",
                    method: "openIconsDialog",
                    params: "prefix-icon",
                  },
                ],
              },
            ],
          },
          {
            tag: "el-input",
            label: "后图标",
            vModel: "__options__.suffix-icon",
            options: {
              placeholder: "请输入后图标名称",
            },
            children: [
              {
                slot: "append",
                tag: "el-button",
                options: {
                  icon: "el-icon-thumb",
                },
                event: [
                  {
                    trigger: "click",
                    method: "openIconsDialog",
                    params: "suffix-icon",
                  },
                ],
              },
            ],
          },
          {
            tag: "el-input",
            label: "最多输入",
            vModel: "__options__.maxlength",
            options: {
              placeholder: "请输入字符长度",
            },
            children: [
              {
                slot: "append",
                tag: "el-button",
                text: "个字符",
              },
            ],
          },
          {
            tag: "el-switch",
            label: "能否清空",
            vModel: "__options__.clearable",
          },
          {
            tag: "el-switch",
            label: "是否只读",
            vModel: "__options__.readonly",
          },
          {
            tag: "el-switch",
            label: "是否禁用",
            vModel: "__options__.disabled",
          },
        ],
      },
      {
        tag: "el-tab-pane",
        options: {
          label: "插槽",
          name: "2",
        },
        children: [
          {
            tag: "el-input",
            label: "前缀",
            vModel: "__slot__.prepend",
            options: {
              placeholder: "请输入前缀",
            },
          },
          {
            tag: "el-input",
            label: "后缀",
            vModel: "__slot__.append",
            options: {
              placeholder: "请输入后缀",
            },
          },
        ],
      },
    ],
  },
];
export const inputTextareaList = [
  {
    label: '',
    children: [
      {
        tag: "el-input",
        label: "占位提示",
        vModel: "__options__.placeholder",
        options: {
          placeholder: "请输入占位提示",
        },
      },
      {
        tag: "el-switch",
        label: "自适应高度",
        vModel: "__options__.autosizeAuto",
      },
      {
        tag: "el-input-number",
        label: "最大行数",
        vModel: "__options__.autosize.maxRows",
        options: {
          controlsPosition: "right",
          step: 1,
        },
      },
      {
        tag: "el-input-number",
        label: "最小行数",
        vModel: "__options__.autosize.minRows",
        options: {
          controlsPosition: "right",
          step: 1,
        },
      },
      {
        tag: "el-input",
        label: "最多输入",
        vModel: "__options__.maxlength",
        options: {
          placeholder: "请输入字符长度",
        },
        children: [
          {
            slot: "append",
            tag: "el-button",
            text: "个字符",
          },
        ],
      },
      {
        tag: "el-switch",
        label: "输入统计",
        vModel: "__options__.show-word-limit",
      },
      {
        tag: "el-switch",
        label: "是否只读",
        vModel: "__options__.readonly",
      },
      {
        tag: "el-switch",
        label: "是否禁用",
        vModel: "__options__.disabled",
      },
    ]
  }
];
export const inputNumberList = [
  {
    tag: "el-input-number",
    label: "最小值",
    vModel: "__options__.min",
  },
  {
    tag: "el-input-number",
    label: "最大值",
    vModel: "__options__.max",
  },
  {
    tag: "el-input-number",
    label: "步进",
    vModel: "__options__.step",
  },
  {
    tag: "el-switch",
    label: "是否只读",
    vModel: "__options__.readonly",
  },
  {
    tag: "el-switch",
    label: "是否禁用",
    vModel: "__options__.disabled",
  },
];
